package memo;

import java.math.BigDecimal;

/**
 * @ClassName BillSnapshot
 * @Description 作为备忘录载体, 在创建的时候就定了, 不能提供任何属性的set方法, 需要在构造函数中指定初始值.
 * @Author leejiliang
 * @DateTime 2021/7/23 16:39
 * @Version 1.0
 */
public class BillSnapshot {

	private Long id;
	private String other;
	private BigDecimal amount;

	public Long getId() {
		return id;
	}

	public String getOther() {
		return other;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public BillSnapshot(Long id, String other, BigDecimal amount) {
		this.id = id;
		this.other = other;
		this.amount = amount;
	}
}
